package com.haoran.dwz.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.haoran.dwz.domain.entities.URLRecycleBin;

public interface URLRecycleBinRepository
		extends JpaRepository<URLRecycleBin, Long>, JpaSpecificationExecutor<URLRecycleBin> {

	List<URLRecycleBin> findByUrl(String url);
	
	
	List<URLRecycleBin> findByShortUrl(String shortUrl);
}
